<!-- 底部导航 -->
<template>
  <div class="dbdh">
    <router-link to="/shujia">
      <stxzzj>
        <i slot="tp" class="iconfont icon-shujia"></i>
        <h1 slot="wz">书架</h1>
      </stxzzj>
    </router-link>
     <router-link to="/shucheng">
      <stxzzj>
        <i slot="tp" class="iconfont icon-wenben"></i>
        <h1 slot="wz">书城</h1>
      </stxzzj>
    </router-link>
    <router-link to="/fenxiang">
      <stxzzj>
        <i slot="tp" class="iconfont icon-fenxiang1"></i>
        <h1 slot="wz">分享</h1>
      </stxzzj>
    </router-link>
    <router-link to="/wode">
      <stxzzj>
        <i slot="tp" class="iconfont icon-my"></i>
        <h1 slot="wz">我的</h1>
      </stxzzj>
    </router-link>
   
  </div>
</template>

<script>
import stxzzj from "./stxzzj.vue";

export default {
  components: {
    stxzzj,
  },
  data() {
    return {};
  },
  computed: {},
  watch: {},
  methods: {},
  created() {},
  mounted() {},
};
</script>
<style scoped>
.dbdh {
  width: 100%;
  font-size: 0.16rem;
  display: flex;
  justify-content: space-around;
  position: fixed;
  bottom: 0;
  background-color: #fff;
  border-top: 1px solid #eee;
}
h1 {
  font-size: 0.21rem;
}
.iconfont {
  font-size: 0.31rem;
}
a{
  color: #a2a2a2;
}
.dbdh .router-link-active {
  color: #c53826;
}
</style>